import math
while True:
    a, b, c = sorted(map(int, input().strip().split()))

    print(a, b, c)
